#include "virtual_func.h"
#include "pfc_common.h"

virtual_pfc y_PFC;
updatePFCState(uint8_t state)
{
	y_PFC.pfc_state = state;
	pfc_send_switch(y_PFC.pfc_state);
	if (y_PFC.pfc_state == PFC_STATE_ON)
	{
		printf("PFC State is on:\r\n");
	}
	else
	{
		printf("PFC state is off\r\n");
	}
}

